package com.woniu.user.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.woniu.user.controller.form.ModifyArticle;
import com.woniu.user.controller.form.PostArticleForm;
import com.woniu.user.model.Article;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 文章表 服务类
 * </p>
 *
 * @author Silas
 * @since 2023-02-15
 */
public interface ArticleService extends IService<Article> {

    void post(PostArticleForm postArticleForm, Integer venueId);

    Page<Article> query(String condition, Integer current, Integer size);

    void articleDelete(String userType, Integer userId, Integer id);

    void modify(String userType, Integer userId, ModifyArticle modifyArticle);



}
